<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page isELIgnored="false" %>
<%@ include file="/WEB-INF/views/common/includes.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
	
<div class="span-16 last table">
<h3><fmt:message key="section.user.applications.header"/> (<fmt:message key="message.generic.table.total"/> ${paginator.size})</h3>
<%@ include file="/WEB-INF/views/include/messages.jsp" %>		
<table>
	<thead>
		<tr>
			<th class="sortable" order="name"><fmt:message key="application.field.name"/></th>
			<th><fmt:message key="action.user.app.revoke"/></th>
		</tr>
	</thead>
	<tbody>
	<c:forEach items="${apps}" var="app" varStatus="counter">
		<tr>
			<td><a href="<c:url value="${app.applicationUri}"/>" >${app.name}</a></td>
			<td><a href="<c:url value="/${rc.locale.language}/user/applications/revoke/${app.id}/"/>" ><fmt:message key="action.user.app.revoke"/></a></td>
		</tr>
	</c:forEach>
	</tbody>
</table>
</div>